home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 March: Reference Library / Dev.CD Mar 96 RL / Dev.CD Mar 96 RL.toast / Technical Documentation / develop / develop Issue 6 / develop Issue 6 code / TCP.sea / TCP / NewsWatcher / NW Source / Source / news.h < prev    next >
MacBinary  |  1995-02-17  |  1.8 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Feb 17 17:54:16 1995, modified Fri Feb 17 17:54:16 1995, creator 'MMCC', type ASCII, 1088 bytes "news.h" , at 0x4c0 410 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 6e 65 77 73 2e 68 | 00 00 00 00 00 00 00 00 |..news.h|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 04 40 00 | 00 01 9a ab 6a d9 98 ab |......@.|....j...|
|00000060| 6a d9 98 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |j.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6a 6e 00 00 |........|....jn..|
|00000080| 4f 53 45 72 72 20 53 74 | 61 72 74 4e 4e 54 50 20 |OSErr St|artNNTP |
|00000090| 28 76 6f 69 64 29 3b 0d | 76 6f 69 64 20 45 6e 64 |(void);.|void End|
|000000a0| 4e 4e 54 50 20 28 76 6f | 69 64 29 3b 0d 4f 53 45 |NNTP (vo|id);.OSE|
|000000b0| 72 72 20 47 65 74 47 72 | 6f 75 70 4e 61 6d 65 73 |rr GetGr|oupNames|
|000000c0| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 6c |(unsigne|d long l|
|000000d0| 61 73 74 54 69 6d 65 2c | 20 48 61 6e 64 6c 65 20 |astTime,| Handle |
|000000e0| 2a 73 74 72 69 6e 67 73 | 2c 20 6c 6f 6e 67 20 2a |*strings|, long *|
|000000f0| 6e 75 6d 47 72 6f 75 70 | 73 29 3b 0d 4f 53 45 72 |numGroup|s);.OSEr|
|00000100| 72 20 47 65 74 41 72 74 | 69 63 6c 65 20 28 63 68 |r GetArt|icle (ch|
|00000110| 61 72 20 2a 68 6f 73 74 | 2c 20 73 68 6f 72 74 20 |ar *host|, short |
|00000120| 70 6f 72 74 2c 0d 09 63 | 68 61 72 20 2a 67 72 6f |port,..c|har *gro|
|00000130| 75 70 4e 61 6d 65 2c 20 | 6c 6f 6e 67 20 6e 75 6d |upName, |long num|
|00000140| 62 65 72 2c 20 63 68 61 | 72 20 2a 69 64 2c 20 63 |ber, cha|r *id, c|
|00000150| 68 61 72 20 2a 70 61 72 | 74 2c 20 0d 09 42 6f 6f |har *par|t, ..Boo|
|00000160| 6c 65 61 6e 20 74 72 75 | 6e 63 61 74 65 49 66 41 |lean tru|ncateIfA|
|00000170| 74 74 61 63 68 65 64 46 | 69 6c 65 2c 20 42 6f 6f |ttachedF|ile, Boo|
|00000180| 6c 65 61 6e 20 66 6c 61 | 67 52 65 71 64 2c 20 0d |lean fla|gReqd, .|
|00000190| 09 48 61 6e 64 6c 65 20 | 2a 74 65 78 74 2c 20 6c |.Handle |*text, l|
|000001a0| 6f 6e 67 20 2a 74 65 78 | 74 4c 65 6e 67 74 68 2c |ong *tex|tLength,|
|000001b0| 20 42 6f 6f 6c 65 61 6e | 20 2a 61 74 74 61 63 68 | Boolean| *attach|
|000001c0| 65 64 46 69 6c 65 29 3b | 0d 4f 53 45 72 72 20 43 |edFile);|.OSErr C|
|000001d0| 6f 70 79 41 72 74 69 63 | 6c 65 54 6f 46 69 6c 65 |opyArtic|leToFile|
|000001e0| 20 28 63 68 61 72 20 2a | 67 72 6f 75 70 4e 61 6d | (char *|groupNam|
|000001f0| 65 2c 20 6c 6f 6e 67 20 | 6e 75 6d 62 65 72 2c 20 |e, long |number, |
|00000200| 63 68 61 72 20 2a 69 64 | 2c 20 63 68 61 72 20 2a |char *id|, char *|
|00000210| 70 61 72 74 2c 20 0d 09 | 73 68 6f 72 74 20 72 65 |part, ..|short re|
|00000220| 66 4e 75 6d 2c 20 42 6f | 6f 6c 65 61 6e 20 74 72 |fNum, Bo|olean tr|
|00000230| 75 6e 63 61 74 65 49 66 | 41 74 74 61 63 68 65 64 |uncateIf|Attached|
|00000240| 46 69 6c 65 2c 20 0d 09 | 42 6f 6f 6c 65 61 6e 20 |File, ..|Boolean |
|00000250| 66 6c 61 67 52 65 71 64 | 2c 20 54 41 74 74 61 63 |flagReqd|, TAttac|
|00000260| 68 65 64 46 69 6c 65 4b | 69 6e 64 20 2a 66 69 6c |hedFileK|ind *fil|
|00000270| 65 4b 69 6e 64 29 3b 0d | 4f 53 45 72 72 20 50 6f |eKind);.|OSErr Po|
|00000280| 73 74 41 72 74 69 63 6c | 65 20 28 48 61 6e 64 6c |stArticl|e (Handl|
|00000290| 65 20 74 65 78 74 2c 20 | 63 68 61 72 20 2a 73 74 |e text, |char *st|
|000002a0| 61 74 75 73 4d 73 67 2c | 20 42 6f 6f 6c 65 61 6e |atusMsg,| Boolean|
|000002b0| 20 2a 70 6f 73 74 49 6e | 64 65 74 65 72 6d 69 6e | *postIn|determin|
|000002c0| 61 74 65 29 3b 0d 4f 53 | 45 72 72 20 47 65 74 47 |ate);.OS|Err GetG|
|000002d0| 72 6f 75 70 41 72 74 69 | 63 6c 65 52 61 6e 67 65 |roupArti|cleRange|
|000002e0| 20 28 54 47 72 6f 75 70 | 20 2a 74 68 65 47 72 6f | (TGroup| *theGro|
|000002f0| 75 70 2c 20 42 6f 6f 6c | 65 61 6e 20 2a 67 72 6f |up, Bool|ean *gro|
|00000300| 75 70 45 78 69 73 74 73 | 29 3b 0d 4f 53 45 72 72 |upExists|);.OSErr|
|00000310| 20 47 65 74 47 72 6f 75 | 70 41 72 72 61 79 41 72 | GetGrou|pArrayAr|
|00000320| 74 69 63 6c 65 52 61 6e | 67 65 73 20 28 54 47 72 |ticleRan|ges (TGr|
|00000330| 6f 75 70 20 2a 2a 67 72 | 6f 75 70 41 72 72 61 79 |oup **gr|oupArray|
|00000340| 2c 20 73 68 6f 72 74 20 | 6e 75 6d 47 72 6f 75 70 |, short |numGroup|
|00000350| 73 29 3b 0d 4f 53 45 72 | 72 20 47 65 74 48 65 61 |s);.OSEr|r GetHea|
|00000360| 64 65 72 73 20 28 63 68 | 61 72 20 2a 67 72 6f 75 |ders (ch|ar *grou|
|00000370| 70 4e 61 6d 65 2c 20 63 | 68 61 72 20 2a 68 65 61 |pName, c|har *hea|
|00000380| 64 65 72 4e 61 6d 65 2c | 20 6c 6f 6e 67 20 66 69 |derName,| long fi|
|00000390| 72 73 74 2c 20 6c 6f 6e | 67 20 6c 61 73 74 2c 20 |rst, lon|g last, |
|000003a0| 0d 09 54 48 65 61 64 65 | 72 20 2a 2a 2a 68 65 61 |..THeade|r ***hea|
|000003b0| 64 65 72 73 2c 20 48 61 | 6e 64 6c 65 20 2a 73 74 |ders, Ha|ndle *st|
|000003c0| 72 69 6e 67 73 2c 20 6c | 6f 6e 67 20 2a 6e 75 6d |rings, l|ong *num|
|000003d0| 48 65 61 64 65 72 73 29 | 3b 0d 4f 53 45 72 72 20 |Headers)|;.OSErr |
|000003e0| 53 65 61 72 63 68 48 65 | 61 64 65 72 73 20 28 63 |SearchHe|aders (c|
|000003f0| 68 61 72 20 2a 67 72 6f | 75 70 4e 61 6d 65 2c 20 |har *gro|upName, |
|00000400| 63 68 61 72 20 2a 68 65 | 61 64 65 72 4e 61 6d 65 |char *he|aderName|
|00000410| 2c 20 6c 6f 6e 67 20 66 | 69 72 73 74 2c 20 6c 6f |, long f|irst, lo|
|00000420| 6e 67 20 6c 61 73 74 2c | 0d 09 63 68 61 72 20 2a |ng last,|..char *|
|00000430| 70 61 74 74 65 72 6e 2c | 20 54 48 65 61 64 65 72 |pattern,| THeader|
|00000440| 20 2a 2a 2a 68 65 61 64 | 65 72 73 2c 20 73 68 6f | ***head|ers, sho|
|00000450| 72 74 20 2a 6e 75 6d 48 | 65 61 64 65 72 73 29 3b |rt *numH|eaders);|
|00000460| 0d 4f 53 45 72 72 20 44 | 6f 47 65 74 53 65 72 76 |.OSErr D|oGetServ|
|00000470| 65 72 49 6e 66 6f 20 28 | 76 6f 69 64 29 3b 0d 76 |erInfo (|void);.v|
|00000480| 6f 69 64 20 52 65 73 65 | 74 4e 65 77 73 53 65 72 |oid Rese|tNewsSer|
|00000490| 76 65 72 4f 70 74 69 6f | 6e 73 20 28 76 6f 69 64 |verOptio|ns (void|
|000004a0| 29 3b 0d 4f 53 45 72 72 | 20 52 65 41 75 74 68 65 |);.OSErr| ReAuthe|
|000004b0| 6e 74 69 63 61 74 65 20 | 28 76 6f 69 64 29 3b 0d |nticate |(void);.|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000510| 00 00 01 4e 65 74 47 65 | 74 4d 79 41 64 64 72 00 |...NetGe|tMyAddr.|
|00000520| 02 a3 74 68 65 41 64 64 | 72 53 74 72 24 31 31 35 |..theAdd|rStr$115|
|00000530| 06 6e 65 77 73 2e 68 b4 | 02 00 00 00 54 45 58 54 |.news.h.|....TEXT|
|00000540| 4d 4d 43 43 01 00 ff ff | ff ff 00 00 00 00 12 b2 |MMCC....|........|
|00000550| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 aa 4f 8a b1 00 00 | 04 40 00 00 01 9a 72 24 |...O....|.@....r$|
|00000580| 34 32 35 00 01 31 67 6f | 74 49 74 24 35 32 35 00 |425..1go|tIt$525.|
|00000590| 03 e2 74 68 65 4e 61 6d | 65 24 36 32 35 00 00 6c |..theNam|e$625..l|
|000005a0| 4e 65 74 47 65 74 4d 79 | 4e 61 6d 65 00 01 7c 4e |NetGetMy|Name..|N|
|000005b0| 65 74 41 64 64 72 54 6f | 4e 61 6d 65 00 01 c0 63 |etAddrTo|Name...c|
|000005c0| 61 63 68 65 24 39 33 35 | 00 00 00 6e 75 6d 43 61 |ache$935|...numCa|
|000005d0| 63 68 65 24 30 34 35 00 | 01 39 4e 65 74 4e 61 6d |che$045.|.9NetNam|
|000005e0| 65 54 6f 41 64 64 72 00 | 01 8f 53 74 72 54 6f 41 |eToAddr.|..StrToA|
|000005f0| 64 64 72 00 02 0e 73 74 | 72 63 6d 70 00 02 46 41 |ddr...st|rcmp..FA|
|00000600| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 03 | 00 04 00 57 00 10 01 8b |........|...W....|
|00000630| 02 74 00 57 00 10 01 8b | 02 74 ab 6a a8 31 00 00 |.t.W....|.t.j.1..|
|00000640| 00 82 00 00 00 8c 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00000650| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000660| 00 00 00 46 01 ca 50 38 | 11 a2 00 00 00 1c 00 46 |...F..P8|.......F|
|00000670| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000680| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000690| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+